<div {@attach x}></div>
<div {@attach (node) => {}}></div>

<Comp {@attach x}></Comp>
<Comp {@attach (node) => {}}></Comp>
